package cn.bd13.xinapp.service.web;



import cn.bd13.xinapp.model.dto.AddForm;
import cn.bd13.xinapp.model.dto.AdminVo;
import cn.bd13.xinapp.model.dto.MenuVo;
import cn.bd13.xinapp.model.entity.Admin;

import java.util.List;

public interface AdminService {


    Admin getAdminByPhone(String phone);

    List<MenuVo> getMenusByAtype(int atype) throws Exception;

    List<AdminVo> queryAdminCtds(String query, int pagenum, int pagesize) throws Exception;

    int queryAdminCtdsCount(String query) throws Exception;

    void updAdminStatus(int aid) throws Exception;

    void addAdmin(AddForm form) throws Exception;
}
